from hashlib import sha256

def hashimg(image):
	file = open(image, "rb") 
	hash = sha256(file.read()).hexdigest() 
	file.close()
	print(f"The hash of my file is: {hash}")

hashimg("exp1.jpg")
hashimg("exp2.jpg")